package mammuthus.web.bean


/**
 * 5/28/15 WilliamZhu(allwefantasy@gmail.com)
 */
case class ShellResult(success: Boolean, mgs: String, tasks: String, taskInfos: List[TaskInfo])

case class PutAppExtra(hostName: String, msg: String, success: Boolean)

case class AppConfigResult(template:String,executeResult:List[PutAppExtra])

case class GetAppExtra(hostName: String, extra: String)

case class Task(task: TaskDesc, message: String)

case class TaskInfo(task: TaskDesc, offset: Long, message: String, status: Status)

case class TaskDesc(taskId: String, hostName: String)

case class Status(finished: Boolean, isTimeout: Boolean, isError: Boolean)
